<template>
    <div>
        <button @click="goLogin">登录</button>
        <el-button type="primary">主要按钮</el-button>
    </div>
</template>

<script>
// import {Button} from 'element-ui'
    export default {
        methods:{
            goLogin(){
                this.$router.push({
                    name:"login",
                });
            },
        },
        components:{
            // "el-button":Button,
        }
    };
</script>

<style lang="scss" scoped>

</style>